package com.ggb.reactive.constant

interface StatusEnum {
    fun getStatus(): Int = (this as? Enum<*>)?.ordinal ?: throw ClassCastException("this not enum!")
}